<?php 
include 'functions.php';
function __autoload($ClassName){
	include './Controller/{$ClassName}.php';
}
$c = isset($_GET['c']) ? ($_GET['c']) : 'Index';
$c = "{$c}Controller";
$Controller = new $c;
$a = isset($_GET['a']) ? ($_GET['a']) : 'index';
$Controller->$a();

 ?>